<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%  
	String path = request.getContextPath();  
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";  
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>员工详情</title>
<link rel="stylesheet" href="${pageContext.request.contextPath }/js/common/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="${pageContext.request.contextPath }/js/common/bootstrap/css/bootstrap-theme.min.css">
<script src="${pageContext.request.contextPath }/js/jquery-3.1.1.min.js"></script>
<script	src="${pageContext.request.contextPath }/js/common/bootstrap/js/bootstrap.min.js"></script>
<script	src="${pageContext.request.contextPath }/js/common/bootstrapvaildator/js/bootstrapValidator.min.js"></script>
<script	src="${pageContext.request.contextPath }/js/common/bootstrapvaildator/js/language/zh_CN.js"></script>
</head>
<!-- <body style="margin: 30px;"> -->
<body>
	<!-- <div class="container"> -->
		<center>
			<fieldset disabled>	
			<table class="table table-bordered">
				<tr>
					<td>
						<div class="form-group" align="left">
							<label for="photo" class="col-sm-7 control-label">照片：</label>
						</div></td>
					<td>
						<div class="form-group">
							<div class="col-sm-5">
								<img src="/bsc${bsu.photo }" width="120px" height="100px"/>
							</div>
						</div>
					</td>
				</tr>
				<tr>
					<td>
						<div class="form-group" align="left">
							<label for="username" class="col-sm-7 control-label">员工姓名：</label>
						</div>
					</td>
					<td>
						<div class="form-group">
							<div class="col-sm-5">
								${bsu.username }
							</div>
						</div>
					</td>
				</tr>
				<tr>
					<td>
						<div class="form-group" align="left">
							<label for="account" class="col-sm-7 control-label">员工账号：</label>
						</div>
					</td>
					<td>
						<div class="form-group">
							<div class="col-sm-5">
								${bsu.account }
							</div>
						</div>
					</td>
				</tr>
				<tr>
					<td>
						<div class="form-group" align="left">
							<label for="sex" class="col-sm-7 control-label">性别：</label>
						</div>
					</td>
					<td>
						<div class="form-group">
							<div class="col-sm-5">
								${bsu.sex==1?"男":bsu.sex==2?"女":"保密 " }
							</div>
						</div>
					</td>
				</tr>
				<tr>
					<td>
						<div class="form-group" align="left">
							<label for="post_name" class="col-sm-7 control-label">职位：</label>
						</div>
					</td>
					<td>
						<div class="form-group">
							<div class="col-sm-5">
								${bsu.post_name }
							</div>
						</div>
					</td>
				</tr>
				<tr>
					<td>
						<div class="form-group" align="left">
							<label for="mobile" class="col-sm-7 control-label">手机号码：</label>
						</div>
					</td>
					<td>
						<div class="form-group">
							<div class="col-sm-5">
								${bsu.mobile }
							</div>
						</div>
					</td>
				</tr>
				<tr>
					<td>
						<div class="form-group" align="left">
							<label for="born_date" class="col-sm-7 control-label">员工生日：</label>
						</div>
					</td>
					<td>
						<div class="form-group">
							<div class="col-sm-5">
								<f:formatDate value='${bsu.born_date }' pattern='MM-dd'/>
							</div>
						</div>
					</td>
				</tr>
				<tr>
					<td>
						<div class="form-group" align="left">
							<label for="idno" class="col-sm-7 control-label">身份证号码：</label>
						</div>
					</td>
					<td>
						<div class="form-group">
							<div class="col-sm-5">
								${bsu.idno }
							</div>
						</div>
					</td>
				</tr>
				<tr>
					<td>
						<div class="form-group" align="left">
							<label for="address" class="col-sm-7 control-label">住址：</label>
						</div>
					</td>
					<td>
						<div class="form-group">
							<div class="col-sm-5">
								${bsu.address }
							</div>
						</div>
					</td>
				</tr>
			</table>
			</fieldset>
			<button type="button" class="btn btn-default" name="zjjclose" id="zjjclose">关闭</button>			
		</center>
	<!-- </div> -->
</body>
</html>
<script type="text/javascript">
	$("#zjjclose").click(
			function() {
				window.location.href = "${pageContext.request.contextPath }/proltal/zjj1/selectBis_shop_user1";
			}
	)
</script>